//
//  NIFunctionUtil.h
//  NewIdeasAPI_Base
//
//  Created by 　罗若文 on 16/9/7.
//  Copyright © 2016年 罗若文. All rights reserved.
//

#import <Foundation/Foundation.h>

///回调
typedef void (^NIFunctionBlock)();

@interface NIFunctionUtil : NSObject

@property (nonatomic,copy) NIFunctionBlock block;

///实例化对象
+ (id)initFun;

///延迟多少时间后执行block   例如: [[NIFunctionUtil initFun] performSelector:nil afterDelay:2.0f]
-(void)performSelector:(NIFunctionBlock)block afterDelay:(NSTimeInterval)delay;



@end
